<?php

class Backoffice_Model_FormEsculateTicket extends Zend_Form
{
    public function __construct(Doctrine\ORM\EntityManager $em, $options = null)
    {
        parent::__construct($options);
        
        $user = new Zend_Form_Element_Text('user');
        $user->setLabel('Esculate Ticket To User')
             ->setAttrib('style', 'width: 720px;');
        $this->addElement($user);
        
        $message = new Zend_Form_Element_Textarea('message');
        $message->setLabel('Message')
                ->setAttrib('class', 'esculateEditor');
        $this->addElement($message);
        
        $ticketId = new Zend_Form_Element_Hidden('ticketId');
        $ticketId->removeDecorator("label")
                 ->removeDecorator("htmlTag")
                 ->removeDecorator("Errors");
        $this->addElement($ticketId);
    }
}

?>